.class public Lcom/xingbook/park/activity/VideoPlayStreamActivity;
.super Lcom/xingbook/park/activity/BaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private a:Lcom/xingbook/ui/overclass/VideoView;

.field private b:Lcom/xingbook/cinema/d/a;

.field private c:Lcom/xingbook/b/n;

.field private d:Landroid/app/ProgressDialog;

.field private e:Landroid/view/View;

.field private f:Landroid/view/View;

.field private g:Landroid/widget/TextView;

.field private h:Landroid/widget/TextView;

.field private i:Z

.field private l:I

.field private m:Lcom/xingbook/ui/af;

.field private n:Z

.field private o:I

.field private p:Ljava/lang/String;

.field private q:Lcom/xingbook/park/activity/ct;

.field private r:Lcom/xingbook/ui/overclass/s;

.field private s:Ljava/lang/String;

.field private t:I

.field private u:J


# direct methods
.method public constructor <init>()V
    .locals 2

    const/4 v1, -0x1

    const/4 v0, 0x0

    invoke-direct {p0}, Lcom/xingbook/park/activity/BaseActivity;-><init>()V

    iput-boolean v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->i:Z

    iput v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->l:I

    iput-boolean v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->n:Z

    iput v1, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->o:I

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->p:Ljava/lang/String;

    new-instance v0, Lcom/xingbook/park/activity/ct;

    invoke-direct {v0, p0}, Lcom/xingbook/park/activity/ct;-><init>(Lcom/xingbook/park/activity/VideoPlayStreamActivity;)V

    iput-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->q:Lcom/xingbook/park/activity/ct;

    new-instance v0, Lcom/xingbook/park/activity/ck;

    invoke-direct {v0, p0}, Lcom/xingbook/park/activity/ck;-><init>(Lcom/xingbook/park/activity/VideoPlayStreamActivity;)V

    iput-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->r:Lcom/xingbook/ui/overclass/s;

    iput v1, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->t:I

    return-void
.end method

.method static synthetic a(Lcom/xingbook/park/activity/VideoPlayStreamActivity;)Lcom/xingbook/park/activity/ct;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->q:Lcom/xingbook/park/activity/ct;

    return-object v0
.end method

.method private a(I)V
    .locals 2

    const/4 v1, 0x0

    const-string v0, "\u5373\u5c06\u64ad\u653e\u00b7\u00b7\u00b7"

    invoke-direct {p0, v0, v1}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->a(Ljava/lang/String;I)V

    iput-boolean v1, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->n:Z

    sget-object v0, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v1, Lcom/xingbook/park/activity/cm;

    invoke-direct {v1, p0, p1}, Lcom/xingbook/park/activity/cm;-><init>(Lcom/xingbook/park/activity/VideoPlayStreamActivity;I)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    return-void
.end method

.method public static a(Landroid/content/Context;ILjava/lang/String;Ljava/lang/String;ILjava/lang/String;)V
    .locals 3

    const/4 v2, 0x6

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/xingbook/park/activity/VideoPlayStreamActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v1, "com.xingbook.park.activity.VideoPlayStreamActivity.INTENT_RESTYPE"

    invoke-virtual {v0, v1, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    const-string v1, "com.xingbook.park.activity.VideoPlayStreamActivity.INTENT_ID"

    invoke-virtual {v0, v1, p2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string v1, "com.xingbook.park.activity.VideoPlayStreamActivity.INTENT_NAME"

    invoke-virtual {v0, v1, p3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const/4 v1, -0x1

    if-eq p4, v1, :cond_0

    if-eqz p5, :cond_0

    const-string v1, "com.xingbook.park.activity.VideoPlayStreamActivity.INTENT_SERIESTYPE"

    invoke-virtual {v0, v1, p4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    const-string v1, "com.xingbook.park.activity.VideoPlayStreamActivity.INTENT_SERIESID"

    invoke-virtual {v0, v1, p5}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    :cond_0
    instance-of v1, p0, Landroid/app/Activity;

    if-nez v1, :cond_1

    const/high16 v1, 0x1000

    invoke-virtual {v0, v1}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    :cond_1
    instance-of v1, p0, Lcom/xingbook/park/activity/BaseActivity;

    if-eqz v1, :cond_2

    check-cast p0, Lcom/xingbook/park/activity/BaseActivity;

    invoke-virtual {p0, v0, v2}, Lcom/xingbook/park/activity/BaseActivity;->a(Landroid/content/Intent;I)V

    :goto_0
    return-void

    :cond_2
    instance-of v1, p0, Lcom/xingbook/park/activity/BaseFragmentActivity;

    if-eqz v1, :cond_3

    check-cast p0, Lcom/xingbook/park/activity/BaseFragmentActivity;

    invoke-virtual {p0, v0, v2}, Lcom/xingbook/park/activity/BaseFragmentActivity;->a(Landroid/content/Intent;I)V

    goto :goto_0

    :cond_3
    invoke-virtual {p0, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    goto :goto_0
.end method

.method static synthetic a(Lcom/xingbook/park/activity/VideoPlayStreamActivity;Ljava/lang/String;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->a(Ljava/lang/String;)V

    return-void
.end method

.method static synthetic a(Lcom/xingbook/park/activity/VideoPlayStreamActivity;Ljava/lang/String;I)V
    .locals 0

    invoke-direct {p0, p1, p2}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->a(Ljava/lang/String;I)V

    return-void
.end method

.method static synthetic a(Lcom/xingbook/park/activity/VideoPlayStreamActivity;Z)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->a(Z)V

    return-void
.end method

.method private a(Ljava/lang/String;)V
    .locals 2

    const/4 v1, 0x0

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->h:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->f:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->e:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->b:Lcom/xingbook/cinema/d/a;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Lcom/xingbook/cinema/d/a;->setVisibility(I)V

    return-void
.end method

.method private declared-synchronized a(Ljava/lang/String;I)V
    .locals 2

    monitor-enter p0

    :try_start_0
    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->m:Lcom/xingbook/ui/af;

    invoke-virtual {v0}, Lcom/xingbook/ui/af;->b()Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    move-result v0

    if-eqz v0, :cond_1

    :cond_0
    :goto_0
    monitor-exit p0

    return-void

    :cond_1
    :try_start_1
    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->d:Landroid/app/ProgressDialog;

    if-nez v0, :cond_2

    new-instance v0, Landroid/app/ProgressDialog;

    invoke-direct {v0, p0}, Landroid/app/ProgressDialog;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->d:Landroid/app/ProgressDialog;

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->d:Landroid/app/ProgressDialog;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/app/ProgressDialog;->setCancelable(Z)V

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->d:Landroid/app/ProgressDialog;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/app/ProgressDialog;->setCanceledOnTouchOutside(Z)V

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->d:Landroid/app/ProgressDialog;

    new-instance v1, Lcom/xingbook/park/activity/cq;

    invoke-direct {v1, p0}, Lcom/xingbook/park/activity/cq;-><init>(Lcom/xingbook/park/activity/VideoPlayStreamActivity;)V

    invoke-virtual {v0, v1}, Landroid/app/ProgressDialog;->setOnCancelListener(Landroid/content/DialogInterface$OnCancelListener;)V

    :cond_2
    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->d:Landroid/app/ProgressDialog;

    if-nez p1, :cond_3

    invoke-virtual {p0, p2}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->getString(I)Ljava/lang/String;

    move-result-object p1

    :cond_3
    invoke-virtual {v0, p1}, Landroid/app/ProgressDialog;->setMessage(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->d:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->isShowing()Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->d:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->show()V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method private declared-synchronized a(Z)V
    .locals 1

    monitor-enter p0

    :try_start_0
    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->d:Landroid/app/ProgressDialog;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->d:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->d:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->dismiss()V

    :cond_0
    if-eqz p1, :cond_1

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->d:Landroid/app/ProgressDialog;

    if-eqz v0, :cond_1

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->d:Landroid/app/ProgressDialog;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :cond_1
    monitor-exit p0

    return-void

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method static synthetic b(Lcom/xingbook/park/activity/VideoPlayStreamActivity;)Lcom/xingbook/ui/overclass/VideoView;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->a:Lcom/xingbook/ui/overclass/VideoView;

    return-object v0
.end method

.method private b()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->c:Lcom/xingbook/b/n;

    invoke-virtual {v0}, Lcom/xingbook/b/n;->t()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->s:Ljava/lang/String;

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->c:Lcom/xingbook/b/n;

    invoke-virtual {v0}, Lcom/xingbook/b/n;->s()I

    move-result v0

    iput v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->t:I

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->u:J

    return-void
.end method

.method static synthetic b(Lcom/xingbook/park/activity/VideoPlayStreamActivity;Ljava/lang/String;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->b(Ljava/lang/String;)V

    return-void
.end method

.method static synthetic b(Lcom/xingbook/park/activity/VideoPlayStreamActivity;Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->n:Z

    return-void
.end method

.method private b(Ljava/lang/String;)V
    .locals 9

    const/4 v4, 0x0

    const/4 v7, 0x0

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->m:Lcom/xingbook/ui/af;

    const-string v1, "\u64ad\u653e\u9519\u8bef"

    const-string v3, "\u6211\u77e5\u9053\u4e86"

    new-instance v5, Lcom/xingbook/park/activity/cn;

    invoke-direct {v5, p0}, Lcom/xingbook/park/activity/cn;-><init>(Lcom/xingbook/park/activity/VideoPlayStreamActivity;)V

    move-object v2, p1

    move-object v6, v4

    move v8, v7

    invoke-virtual/range {v0 .. v8}, Lcom/xingbook/ui/af;->a(Ljava/lang/String;Ljava/lang/CharSequence;Ljava/lang/String;Ljava/lang/String;Landroid/view/View$OnClickListener;Landroid/view/View$OnClickListener;ZZ)V

    return-void
.end method

.method static synthetic c(Lcom/xingbook/park/activity/VideoPlayStreamActivity;)Lcom/xingbook/b/n;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->c:Lcom/xingbook/b/n;

    return-object v0
.end method

.method private c()V
    .locals 6

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->s:Ljava/lang/String;

    if-eqz v0, :cond_0

    iget v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->t:I

    iget-object v1, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->s:Ljava/lang/String;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    iget-wide v4, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->u:J

    sub-long/2addr v2, v4

    long-to-int v2, v2

    const/4 v3, 0x1

    invoke-static {v0, v1, v2, v3}, Lcom/xingbook/park/d/j;->a(ILjava/lang/String;IZ)V

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->s:Ljava/lang/String;

    const/4 v0, -0x1

    iput v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->t:I

    const-wide/16 v0, 0x0

    iput-wide v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->u:J

    :cond_0
    return-void
.end method

.method static synthetic d(Lcom/xingbook/park/activity/VideoPlayStreamActivity;)Lcom/xingbook/ui/overclass/s;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->r:Lcom/xingbook/ui/overclass/s;

    return-object v0
.end method

.method static synthetic e(Lcom/xingbook/park/activity/VideoPlayStreamActivity;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->e:Landroid/view/View;

    return-object v0
.end method

.method static synthetic f(Lcom/xingbook/park/activity/VideoPlayStreamActivity;)Lcom/xingbook/cinema/d/a;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->b:Lcom/xingbook/cinema/d/a;

    return-object v0
.end method

.method static synthetic g(Lcom/xingbook/park/activity/VideoPlayStreamActivity;)Lcom/xingbook/ui/af;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->m:Lcom/xingbook/ui/af;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->a:Lcom/xingbook/ui/overclass/VideoView;

    invoke-virtual {v0}, Lcom/xingbook/ui/overclass/VideoView;->start()V

    iget-boolean v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->n:Z

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->f:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getVisibility()I

    move-result v0

    if-eqz v0, :cond_0

    const-string v0, "\u89c6\u9891\u51c6\u5907\u4e2d\u00b7\u00b7\u00b7"

    const/4 v1, 0x0

    invoke-direct {p0, v0, v1}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->a(Ljava/lang/String;I)V

    :cond_0
    return-void
.end method

.method public e()Ljava/lang/String;
    .locals 2

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "\u661f\u5b9d\u5f71\u9662-\u64ad\u653e"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public onClick(Landroid/view/View;)V
    .locals 2

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    const v1, 0x7f0a0280

    if-ne v0, v1, :cond_1

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->f:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->a(I)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    const v1, 0x7f0a027e

    if-ne v0, v1, :cond_0

    invoke-virtual {p0}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->finish()V

    goto :goto_0
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 5

    const/4 v4, -0x1

    invoke-super {p0, p1}, Lcom/xingbook/park/activity/BaseActivity;->onCreate(Landroid/os/Bundle;)V

    new-instance v0, Lcom/xingbook/b/k;

    invoke-virtual {p0}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string v2, "com.xingbook.park.activity.VideoPlayStreamActivity.INTENT_RESTYPE"

    invoke-virtual {v1, v2, v4}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v1

    invoke-direct {v0, v1}, Lcom/xingbook/b/k;-><init>(I)V

    iput-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->c:Lcom/xingbook/b/n;

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->c:Lcom/xingbook/b/n;

    invoke-virtual {p0}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string v2, "com.xingbook.park.activity.VideoPlayStreamActivity.INTENT_ID"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/b/n;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->c:Lcom/xingbook/b/n;

    invoke-virtual {p0}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string v2, "com.xingbook.park.activity.VideoPlayStreamActivity.INTENT_NAME"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/b/n;->b(Ljava/lang/String;)V

    invoke-virtual {p0}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v1, "com.xingbook.park.activity.VideoPlayStreamActivity.INTENT_SERIESTYPE"

    invoke-virtual {v0, v1, v4}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v0

    iput v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->o:I

    invoke-virtual {p0}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v1, "com.xingbook.park.activity.VideoPlayStreamActivity.INTENT_SERIESID"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->p:Ljava/lang/String;

    new-instance v1, Landroid/widget/RelativeLayout;

    invoke-direct {v1, p0}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    const/high16 v0, -0x100

    invoke-virtual {v1, v0}, Landroid/widget/RelativeLayout;->setBackgroundColor(I)V

    invoke-virtual {p0, v1}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->setContentView(Landroid/view/View;)V

    new-instance v0, Lcom/xingbook/ui/overclass/VideoView;

    invoke-direct {v0, p0}, Lcom/xingbook/ui/overclass/VideoView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->a:Lcom/xingbook/ui/overclass/VideoView;

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v0, v4, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v2, 0xd

    invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iget-object v2, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->a:Lcom/xingbook/ui/overclass/VideoView;

    invoke-virtual {v2, v0}, Lcom/xingbook/ui/overclass/VideoView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->a:Lcom/xingbook/ui/overclass/VideoView;

    invoke-virtual {v1, v0}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v0, Lcom/xingbook/cinema/d/a;

    iget-object v2, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->c:Lcom/xingbook/b/n;

    invoke-virtual {v2}, Lcom/xingbook/b/n;->s()I

    move-result v2

    iget-object v3, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->c:Lcom/xingbook/b/n;

    invoke-virtual {v3}, Lcom/xingbook/b/n;->t()Ljava/lang/String;

    move-result-object v3

    invoke-direct {v0, p0, v2, v3}, Lcom/xingbook/cinema/d/a;-><init>(Landroid/app/Activity;ILjava/lang/String;)V

    iput-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->b:Lcom/xingbook/cinema/d/a;

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->b:Lcom/xingbook/cinema/d/a;

    new-instance v2, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v2, v4, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v2}, Lcom/xingbook/cinema/d/a;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->a:Lcom/xingbook/ui/overclass/VideoView;

    iget-object v2, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->b:Lcom/xingbook/cinema/d/a;

    invoke-virtual {v0, v2}, Lcom/xingbook/ui/overclass/VideoView;->setMediaController(Lcom/xingbook/ui/overclass/c;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->b:Lcom/xingbook/cinema/d/a;

    invoke-virtual {v1, v0}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->b:Lcom/xingbook/cinema/d/a;

    iget-object v2, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->c:Lcom/xingbook/b/n;

    invoke-virtual {v2}, Lcom/xingbook/b/n;->u()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/xingbook/cinema/d/a;->setName(Ljava/lang/String;)V

    const v0, 0x7f030055

    const/4 v2, 0x0

    invoke-static {p0, v0, v2}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->e:Landroid/view/View;

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->e:Landroid/view/View;

    new-instance v2, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v2, v4, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v2}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->e:Landroid/view/View;

    const v2, 0x7f0a0280

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->f:Landroid/view/View;

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->f:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->e:Landroid/view/View;

    const v2, 0x7f0a0282

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->h:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->e:Landroid/view/View;

    const v2, 0x7f0a027f

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->g:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->g:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->c:Lcom/xingbook/b/n;

    invoke-virtual {v2}, Lcom/xingbook/b/n;->u()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->e:Landroid/view/View;

    const v2, 0x7f0a027e

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->e:Landroid/view/View;

    invoke-virtual {v1, v0}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v0, Lcom/xingbook/park/activity/cl;

    invoke-direct {v0, p0}, Lcom/xingbook/park/activity/cl;-><init>(Lcom/xingbook/park/activity/VideoPlayStreamActivity;)V

    invoke-virtual {v1, v0}, Landroid/widget/RelativeLayout;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    const/4 v0, 0x1

    invoke-static {v1, p0, v0}, Lcom/xingbook/ui/af;->a(Landroid/view/ViewGroup;Landroid/app/Activity;Z)Lcom/xingbook/ui/af;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->m:Lcom/xingbook/ui/af;

    const/16 v0, 0x96

    invoke-direct {p0, v0}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->a(I)V

    invoke-direct {p0}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->b()V

    return-void
.end method

.method protected onDestroy()V
    .locals 0

    invoke-direct {p0}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->c()V

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onDestroy()V

    return-void
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 9

    const/4 v8, 0x1

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->m:Lcom/xingbook/ui/af;

    invoke-virtual {v0, p1, p2}, Lcom/xingbook/ui/af;->a(ILandroid/view/KeyEvent;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->a()V

    :goto_0
    return v8

    :cond_0
    invoke-virtual {p2}, Landroid/view/KeyEvent;->getKeyCode()I

    move-result v0

    const/4 v1, 0x4

    if-ne v0, v1, :cond_1

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->a:Lcom/xingbook/ui/overclass/VideoView;

    invoke-virtual {v0}, Lcom/xingbook/ui/overclass/VideoView;->pause()V

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->m:Lcom/xingbook/ui/af;

    const-string v1, "\u9000\u51fa\u64ad\u653e"

    const-string v2, "\u786e\u5b9a\u9000\u51fa\u64ad\u653e\uff1f"

    const-string v3, "\u786e\u5b9a\u9000\u51fa"

    const-string v4, "\u7ee7\u7eed\u89c2\u770b"

    new-instance v5, Lcom/xingbook/park/activity/co;

    invoke-direct {v5, p0}, Lcom/xingbook/park/activity/co;-><init>(Lcom/xingbook/park/activity/VideoPlayStreamActivity;)V

    new-instance v6, Lcom/xingbook/park/activity/cp;

    invoke-direct {v6, p0}, Lcom/xingbook/park/activity/cp;-><init>(Lcom/xingbook/park/activity/VideoPlayStreamActivity;)V

    const/4 v7, 0x0

    invoke-virtual/range {v0 .. v8}, Lcom/xingbook/ui/af;->a(Ljava/lang/String;Ljava/lang/CharSequence;Ljava/lang/String;Ljava/lang/String;Landroid/view/View$OnClickListener;Landroid/view/View$OnClickListener;ZZ)V

    goto :goto_0

    :cond_1
    invoke-super {p0, p1, p2}, Lcom/xingbook/park/activity/BaseActivity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result v8

    goto :goto_0
.end method

.method protected onPause()V
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->a:Lcom/xingbook/ui/overclass/VideoView;

    invoke-virtual {v0}, Lcom/xingbook/ui/overclass/VideoView;->isPlaying()Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->a:Lcom/xingbook/ui/overclass/VideoView;

    iget-boolean v0, v0, Lcom/xingbook/ui/overclass/VideoView;->a:Z

    if-nez v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    iput-boolean v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->i:Z

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->a:Lcom/xingbook/ui/overclass/VideoView;

    invoke-virtual {v0}, Lcom/xingbook/ui/overclass/VideoView;->pause()V

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->a:Lcom/xingbook/ui/overclass/VideoView;

    invoke-virtual {v0}, Lcom/xingbook/ui/overclass/VideoView;->getCurrentPosition()I

    move-result v0

    iput v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->l:I

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onPause()V

    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onPause(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->j()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/a/a/g;->b(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/a/a/g;->a(Landroid/content/Context;)V

    return-void

    :cond_0
    const/4 v0, 0x1

    goto :goto_0
.end method

.method protected onResume()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->a:Lcom/xingbook/ui/overclass/VideoView;

    invoke-virtual {v0}, Lcom/xingbook/ui/overclass/VideoView;->getCurrentPosition()I

    move-result v0

    iget v1, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->l:I

    if-eq v0, v1, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->a:Lcom/xingbook/ui/overclass/VideoView;

    iget v1, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->l:I

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/overclass/VideoView;->seekTo(I)V

    :cond_0
    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->e:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getVisibility()I

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->b:Lcom/xingbook/cinema/d/a;

    invoke-virtual {v0}, Lcom/xingbook/cinema/d/a;->b()V

    :cond_1
    iget-boolean v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->i:Z

    if-eqz v0, :cond_2

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->i:Z

    iget-object v0, p0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->a:Lcom/xingbook/ui/overclass/VideoView;

    invoke-virtual {v0}, Lcom/xingbook/ui/overclass/VideoView;->start()V

    :cond_2
    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onResume()V

    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onResume(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->j()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/a/a/g;->a(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/a/a/g;->b(Landroid/content/Context;)V

    return-void
.end method
